import { http } from "@/utlis/http";

export const postFeedbackAPI = (data: any) => {
  return http({
    method: "POST",
    url: "/feedback/submit",
    data,
  });
};

//获取提交反馈列表
export const feedbackListAPI = (data: any) => {
  return http({
    method: "POST",
    url: "/feedback/list",
    data,
  });
};

//查看某个反馈的详情
export const feedbackDetailAPI = () => {
  return http({
    method: "GET",
    url: "/feedback/detail",
  });
};
